// DwarfEntityHome.java package dwarf; import java.io.Serializable; import javax.ejb.EJBException; import javax.ejb.CreateException; import javax.ejb.EJBLocalHome; import javax.ejb.FinderException; public interface DwarfEntityHome extends EJBLocalHome { public DwarfEntity create(String dwarfName, int born, MountainEntity home) throws EJBException, CreateException; public DwarfEntity findByPrimaryKey(Integer id) throws FinderException, EJBException; public java.util.Collection findAll() throws FinderException, EJBException; }